import requests

resp = requests.get(url="http://www.baidu.com")
print("url=", resp.url)
print(f"status_code = {resp.status_code}")
print(f"cookies = {resp.cookies}")
print(f"headers = {resp.headers}")
print(f"body_text = {resp.text}")
